class UserAccount {
  constructor(username, userId) {
    this.username = username;
    this.userId = userId;
    this.password = null; // 不存储密码
  }

  // 获取用户名
  getUserName() {
    return this.username;
  }

  // 获取用户ID
  getUserId() {
    return this.userId;
  }
}

module.exports = UserAccount;